﻿using Microsoft.VisualStudio.TestTools.UnitTesting;
using NuGet.MSBuild.Tools.Helpers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NuGet.MSBuild.Tools.UnitTests
{
    [TestClass]
    public class FileNameBuilderTests
    {
        [TestMethod]
        public void ToStringTest()
        {
            string expected = @"C:\Test.txt";

            FileNameBuilder target = new FileNameBuilder()
            {
                DirectoryName = @"C:\",
                Name = "Test",
                Extension = ".txt"
            };

            string actual = target.ToString();

            Assert.AreEqual(expected, actual);
        }
    }
}